package com.ruoyi.approval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批记录对象 sys_sim_approval
 * 
 * @author laifolai
 * @date 2023-02-06
 */
public class SysSimApproval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long approvalId;

    /** 申请ID */
    @Excel(name = "申请ID")
    private Long applyId;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUser;

    /** 审批备注 */
    @Excel(name = "审批备注")
    private String reason;

    /** 审批结果 */
    @Excel(name = "审批结果")
    private Long approvalResult;

    public void setApprovalId(Long approvalId) 
    {
        this.approvalId = approvalId;
    }

    public Long getApprovalId() 
    {
        return approvalId;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setApplyUser(String applyUser) 
    {
        this.applyUser = applyUser;
    }

    public String getApplyUser() 
    {
        return applyUser;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setApprovalResult(Long approvalResult) 
    {
        this.approvalResult = approvalResult;
    }

    public Long getApprovalResult() 
    {
        return approvalResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("approvalId", getApprovalId())
            .append("applyId", getApplyId())
            .append("applyUser", getApplyUser())
            .append("reason", getReason())
            .append("createTime", getCreateTime())
            .append("approvalResult", getApprovalResult())
            .toString();
    }
}
